import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Shuichou from '@/components/Shuichou'
// import Jieshao from '@/components/Jieshao'
import Shebao from '@/components/Shebao'
import Canji from '@/components/Canji'
import Ishouru from '@/components/Ishouru'
import Zt from '@/components/Zt'
import AllZ from '@/components/zt/All'
import JieshuiZ from '@/components/zt/Jieshui'
import ShebaoZ from '@/components/zt/Shebao'
import CanjiZ from '@/components/zt/Canji'
import Article from '@/components/Article'
import News from '@/components/News'
import AllN from '@/components/news/All'
import ShuichouN from '@/components/news/Shuichou'
import ShebaoN from '@/components/news/Shebao'
import CanjiN from '@/components/news/Canji'
import ZhuanqianN from '@/components/news/Zhuanqian'
import ArticleN from '@/components/ArticleN'
import Us from '@/components/Us'
import Sitemap from '@/components/Sitemap'
import Consult from '@/components/Consult'
import counter from '@/components/counter'
import Transfer from '@/components/Transfer'
// import Shebaoc from '@/components/counter/Shebao'
import Shuiqian from '@/components/counter/Shuiqian'
import Laowu from '@/components/counter/Laowu'
import Caichan from '@/components/counter/Caichan'
import Gaochou from '@/components/counter/Gaochou'
import Lixi from '@/components/counter/Lixi'
import Shuihou from '@/components/counter/Shuihou'
import Nianzhong from '@/components/counter/Nianzhong'
import Caichanz from '@/components/counter/Caichanz'
import Ouran from '@/components/counter/Ouran'
import Tequan from '@/components/counter/Tequan'
import Geti from '@/components/counter/Geti'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/shuichou/',
      component: Shuichou
    },
    // {
    //   path: '/jieshao/:id',
    //   component: Jieshao
    // },
    {
      path: '/shebao/',
      component: Shebao
    },
    {
      path: '/canji/',
      component: Canji
    },
    {
      path: '/ishouru.html',
      component: Ishouru
    },
    {
      path: '/zt',
      component: Zt,
      children: [
        {
          path: '/zt/',
          component: AllZ
        },
        {
          path: '/zt/105',
          component: JieshuiZ
        },
        {
          path: '/zt/106',
          component: ShebaoZ
        },
        {
          path: '/zt/107',
          component: CanjiZ
        }
      ]
    },
    {
      path: '/zt/:id',
      component: Article,
    },
    {
      path: '/news',
      component: News,
      children: [
        {
          path: '/news/',
          component: AllN
        },
        {
          path: '/news/shuichou/',
          component: ShuichouN
        },
        {
          path: '/news/shebao/',
          component: ShebaoN
        },
        {
          path: '/news/103/',
          component: CanjiN
        },
        {
          path: '/news/109/',
          component: ZhuanqianN
        }
      ]
    },
    {
      path: '/news/:id',
      component: ArticleN,
    },
    {
      path: '/aboutus/:id',
      component: Us
    },
    {
      path: '/sitemap/',
      component: Sitemap
    },
    {
      path: '/consult/:id/:title',
      component: Consult
    },
    {
      path: '/jsq/',
      component: counter
    },
    {
      path: '/jsq/sqgz.html',
      component: Shuiqian
    },
    {
      path: '/jsq/lwbc.html',
      component: Laowu
    },
    {
      path: '/jsq/cczr.html',
      component: Caichan
    },
    {
      path: '/jsq/gcsd.html',
      component: Gaochou
    },
    {
      path: '/jsq/lxhl.html',
      component: Lixi
    },
    {
      path: '/jsq/shgz.html',
      component: Shuihou
    },
    {
      path: '/jsq/nzj.html',
      component: Nianzhong
    },
    {
      path: '/jsq/cczl.html',
      component: Caichanz
    },
    {
      path: '/jsq/orsd.html',
      component: Ouran
    },
    {
      path: '/jsq/txq.html',
      component: Tequan
    },
    {
      path: '/jsq/gtgsh.html',
      component: Geti
    },
    {
      path: '/:id',
      component: Transfer
    }
  ]
})